package dataview;

import java.util.Iterator;
import java.util.LinkedList;

public class Valori extends LinkedList<Valore>{
	private static final long serialVersionUID = 2187521237021150558L;
	
	public String toString(Unita unitaRiferimento) {
		String s = "";
		Iterator<Valore> i = iterator();
		if (i.hasNext()) s = i.next().toString(unitaRiferimento);
		while (i.hasNext())
			s += ", " + i.next().toString(unitaRiferimento);
		return s;
	}
}
